package com.wits.platform.web.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.wits.platform.entity.SysTabD;
import com.wits.platform.service.SysTabService;

@Controller
@RequestMapping(value="/common")
public class CommonController extends BaseController{

	@Autowired
	private SysTabService sysTabService;
	
	
	@RequestMapping(value="/getLangTypes")
	@ResponseBody
	public Object getLangTypes(){
		List<SysTabD> list=sysTabService.getEnabledLangTypes();
		return list.toString();
	}
}
